<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <style>
        h1{
            color:rgb(209, 104, 209);
            font-size: 80px;
            animation: dggd 0.5s linear infinite;

        }
        @keyframes dggd{
           0%{
               box-shadow: 0 0 20px red;
               transform: rotate(0deg);
           }
           20%{
            box-shadow: 0 0 20px green;
            transform: rotate(15deg);
           }40%{
            box-shadow: 0 0 20px black;
            transform: rotate(0deg);
           }
           60%{
            box-shadow: 0 0 20px rgb(0, 60, 128);
            transform: rotate(-15deg);
           }
           80%{
            box-shadow: 0 0 20px rgb(76, 50, 160);
            transform: rotate(-30deg);
           }
        }
    </style>
</head>
<body>
    <h1>我爱你</h1>
</body>
</html>